package cn.vetech.sync.elasticsearch.service;

import org.elasticsearch.common.xcontent.XContentBuilder;

import java.util.List;
import java.util.Map;

public interface DataService {
    List<Map<String, Object>> getMapping();

    /**
     * 获取esMapping
     * @param type String index
     * @return XContentBuilder
     */
    XContentBuilder getEsMapping(String type);
}
